// 模块配置
require.config({
	paths : {
		"jquery" : "lib/jquery-1.11.3",
		"htm" : "lib/html",
		"mat" : "lib/math"
	},
	shim : {
		"lib/drag" : {
			exports : "drag"	
		},
		"lib/startMove":{
			exports : "startMove"
		}
	}
});

// 模块使用
require(["jquery", "htm", "lib/drag","lib/startMove"], function($, h, d,s){
	//$("body").html("abc");
	
	//h(document.body, "aaa");
	h.html(div1, 5);
	d( div1 );
	s(div2,{"width":300})
	//h.append(document.body, "ccc");
	
});




















/////////--------------------------自己敲一遍-----------
//模块配置
require.config({
	paths:{
		"jquery": "lib/jquery-1.11.3",
		"htm":"lib/html",
		"mat":"lib/math"
	}
})
//模块使用------------------
require (["jquery","htm","mat"],function($,h,m){
	
	
})
